package com.qujia.station.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.station.domain.NonClassSettlement;
import com.qujia.station.domain.dto.ClassPayTypeDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class QueryClassVo implements Serializable {

    @ApiModelProperty(value = "批次号")
    private String classNo;

    @ApiModelProperty(value = "油站id")
    private Long stationId;

    @ApiModelProperty(value = "油站名称")
    private String stationName;
    @ApiModelProperty(value = "应付金额")
    private BigDecimal payableAmount;

    @ApiModelProperty(value = "实付金额")
    private BigDecimal actuallyAmount;

    @ApiModelProperty(value = "合计优惠")
    private BigDecimal totalDiscountAmount;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "班结开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date classStartTime;

    @ApiModelProperty(value = "班结截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date classEndTime;

    @ApiModelProperty(value = "销售商品汇总")
    private List<NonClassSettlement> commodityClassList;

    @ApiModelProperty(value = "支付方式汇总")
    private List<ClassPayTypeDto> classPayTypeDtoList;

    @ApiModelProperty(value = "班结人id")
    private String createUser;

    @ApiModelProperty(value = "班结人名")
    private String createName;
}
